<script setup>
/** 自定义图标 */
const props = defineProps({
    /** 图标名称(assets/svg下的文件名) */
    icon: {
        type: String,
        required: true,
    },
    size: {
        type: Number,
        default: 18,
    },
    color: {
        type: String,
        default: undefined,
    },
});
</script>

<template>
    <TheIcon type="custom" v-bind="props" />
</template>